Skip to content

Conversation

@mocknen
Copy link

@mocknen mocknen commented Jan 17, 2026

Changes

  • Add an option to override the default output format webp

Testing

Docs

Image component might need an update to state that the default value can be overridden.

@changeset-bot
Copy link

changeset-bot bot commented Jan 17, 2026

🦋 Changeset detected

Latest commit: e9d5d13

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) docs pr labels Jan 17, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Jan 17, 2026

Merging this PR will not alter performance

✅ 9 untouched benchmarks


Comparing mocknen:mocknen/add-image-output-format-option (e9d5d13) with main (94ac011)

Open in CodSpeed

@jcayzac
Copy link
Contributor

jcayzac commented Jan 18, 2026

The docs should also mention that conversion from animated formats (gif or webp) might fail if no format is specified during the transform and the chosen default format does not support animation (avif does, but not Sharp, so it will fail).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs pr pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants